import request from '../utls/request'
// 需要登录的请求
export function loginApi(data){
    return request({
        url:'/login',
        method:'post',
        data
    })
}
// 获取用户信息的请求
export function getUserApi(data){
    return request({
        url:'/getuser',
        method:'post',
        data
    })
}
// 注册的请求
export function registerApi(data){
    return request({
        url:'/register',
        method:'post',
        data
    })
}